package com.sun.pojo;

import java.io.Serializable;

/**
 * @author SunRui
 * @description User 扩展类
 * @date 2024/10/3 21:06
 */
public class UserDTO implements Serializable {
    private int id;
    private String name;
    private String roleName;

    @Override
    public String toString() {
        return "UserDTO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", roleName='" + roleName + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}
